package org.example.module.service;

import org.example.module.controller.auth.LoginReq;
import org.example.module.controller.auth.LoginResp;

import javax.security.auth.login.LoginException;

/**
 * 认证业务逻辑
 *
 * @author yinjunwu
 */
public interface AuthService {

    /**
     * 登录
     *
     * @param req req
     * @return Map
     */
    LoginResp login(LoginReq req) throws LoginException;
}
